package com.code.train.service;

import com.code.train.domain.TrainStation;
import com.code.train.req.TrainStationQueryReq;
import com.code.train.req.TrainStationSaveReq;
import com.code.train.resp.PageResp;
import com.code.train.resp.TrainStationQueryResp;

import java.util.List;

/**
 * TrainService
 *
 * @param
 * @author 南汉卿
 * @return
 * @date 2025/8/21 23:57
 */
public interface TrainStationService {
    void save(TrainStationSaveReq req);

    PageResp<TrainStationQueryResp> queryList(TrainStationQueryReq req);

    void delete(Long id);

    List<TrainStation> selectByUniqueTrainCode(String trainCode);
}